<%@ page language="java" import="com.alibaba.fastjson.JSONObject" pageEncoding="UTF-8" %>
<%@ page import="weaver.general.Util" %>
<%@ page import="weaver.hrm.HrmUserVarify" %>
<%@ page import="weaver.hrm.User" %>
<%@ page import="weaver.workflow.webservices.WorkflowServiceImpl" %>
<%--提交流程--%>
<%
    JSONObject jsonData = new JSONObject();
    int requestid = Util.getIntValue(request.getParameter( "requestid" ));
    User user = HrmUserVarify.getUser( request,response );
    int userid = user.getUID();
    WorkflowServiceImpl serviceImpl = new WorkflowServiceImpl();
    String result = serviceImpl.submitWorkflowRequest( null, requestid, userid, "submit", "考试提交完成" );
    jsonData.put( "result", result );
    out.print( jsonData.toJSONString() );
%>






